10 !************************************************************************* 20 ! 30 ! PROGRAM NAME: basicex2.txt 40 ! 50 ! PROGRAM DESCRIPTION: In REMOTE mode, access to the signal generator’s 60 ! functional front panel keys are disabled except for 70 ! the Local and Contrast keys. The LOCAL LOCKOUT 80 ! command will disable the Local key. 90 ! The LOCAL command, executed from the controller, is then 100 ! the only way to return the signal generator to front panel, 110 ! Local, control. 120 !************************************************************************* 130 Sig_gen=719 ! Declares a variable to hold signal generator address 140 CLEAR Sig_gen ! Resets signal generator parser and clears any output 150 LOCAL Sig_gen ! Places the signal generator in local mode 160 REMOTE Sig_gen ! Places the signal generator in remote mode 170 CLEAR SCREEN ! Clears the controllers display 180 OUTPUT Sig_gen;"*RST" ! Places the signal generator in a defined state 190 ! The following print statements are user prompts 200 PRINT "The signal generator should now be in remote." 210 PRINT "Verify that the 'R' and 'L' annunciators are visable" 220 PRINT ".......... Press Continue" 230 PAUSE 240 LOCAL LOCKOUT 7 ! Puts the signal generator in LOCAL LOCKOUT mode 250 PRINT ! Prints user prompt messages 260 PRINT "Signal generator should now be in LOCAL LOCKOUT mode." 270 PRINT 280 PRINT "Verify that all keys including `Local' (except Contrast keys) have no effect." 290 PRINT 300 PRINT ".......... Press Continue" 310 PAUSE 320 PRINT 330 LOCAL 7 ! Returns signal generator to Local control 340 ! The following print statements are user prompts 350 PRINT "Signal generator should now be in Local mode." 360 PRINT 370 PRINT "Verify that the signal generator's front-panel keyboard is functional." 380 PRINT 390 PRINT "To re-start this program press RUN." 400 END